class SoilTypeDict {
  dict:any=[
    {
      key: 1,
      value: "水泥混凝土"
    },
    {
      key: 2,
      value: "沥青稳定土"
    },
    {
      key: 3,
      value: "水泥稳定土"
    }
  ]
  getValue(key:any){
    let type = this.dict.find((item:any)=>{
      return item.key == key
    })
    if(type) return type.value
    return ""
  }
}

export default new SoilTypeDict()